home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 June / EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso / earcd / texts / hsc.lha / hsc / example / source_hsc / macro.hsc next >
Text File  |  1996-01-07  |  1KB  |  57 lines

  1. <*
  2. ** here are the macros to our example project
  3. *>
  4.  
  5. <*
  6. ** macro ITS_ME:
  7. **
  8. ** this is just a simple shortcut for the authors email address
  9. *>
  10. <$macro ITS_ME><ADDRESS>Its Me(me@some.where)</ADDRESS></$macro>
  11.  
  12. <*
  13. ** macro WEBPAGE:
  14. **
  15. **
  16. *>
  17. <$macro WEBPAGE>
  18. <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">        <* SGML header *>
  19. <HTML>
  20. <!-- this page was designed using hsc -->           <* important comment *>
  21. </$macro>
  22.  
  23. <*-------------------------------------*>
  24.  
  25. <$macro /WEBPAGE>
  26. </BODY>                      <* closing BODY started in HEADING *>
  27. </HTML>                      <* closing HTML started in WEBPAGE *>
  28. </$macro>
  29.  
  30. <*
  31. ** macro HEADING
  32. **
  33. ** setup HEAD-part of a page: set <TITLE>-text and Heading
  34. *>
  35. <$macro HEADING TITLE:string>
  36. <HEAD>
  37.   <TITLE>                    <* insert title and heading *>
  38.     <$insert TEXT=(Title)>
  39.   </TITLE>
  40.   <H1>
  41.     <$insert TEXT=(Title)>
  42.   </H1>
  43. </HEAD>
  44. <BODY>                       <* BODY starts here, but ends in </WEBPAGE> *>
  45. </$macro>
  46.  
  47. <*
  48. ** macro FOOTLINE
  49. **
  50. ** insert author's email address and current date & time
  51. ** at end of page
  52. *>
  53. <$macro FOOTLINE>
  54. <HR>
  55.   Updated by <ITS_ME> at <$insert TIME>
  56. </$macro>
  57.